<?xml version="1.0" encoding="UTF-8"?>
<definitions
  xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
  xmlns:activiti="http://activiti.org/bpmn"
  targetNamespace="Examples">

  <process id="OneScopeTaskScenario.plain" isExecutable="true">
    <startEvent id="start" />
    <sequenceFlow id="flow1" sourceRef="start" targetRef="task" />
    <userTask id="task" />
    <sequenceFlow id="flow2" sourceRef="task" targetRef="end" />
    <endEvent id="end" />
    
    <!-- boundary event -->
    <boundaryEvent id="boundaryTimer" cancelActivity="true" attachedToRef="task">
      <timerEventDefinition>
        <timeDuration>P10D</timeDuration>
      </timerEventDefinition>
    </boundaryEvent>
    <sequenceFlow id="flow3" sourceRef="boundaryTimer" targetRef="boundaryEnd" />
    <endEvent id="boundaryEnd" />
  </process>
</definitions>
